#include "watchdog.h"
#include <xc.h>
#include "../system/system.h"



void WatchDog_Start_g(void)
{
    RCONbits.SWDTEN = 1; //enable wdt
}

void WatchDog_Stop_g(void)
{
    RCONbits.SWDTEN = 0; //disable wdt
}

void WatchDog_Clear_g(void)
{
    ClrWdt(); //feed watchdog
}